package com.woniuxy.opencv.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：yolo
 * @date ：Created in 2025/7/23 10:43
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient(name = "rabbit-server")
public interface LightFeign {

    @PutMapping("/{id}/used")
    boolean updateUsedStatus(@PathVariable("id") Long id, @RequestParam("used") Integer used);
}
